package org.example.domain.repository;

import org.example.domain.system.model.UserAccount;
import org.springframework.lang.NonNull;

import java.util.Optional;

public interface UserAccountRepository {
    Optional<UserAccount> getUserAccountByUserName(@NonNull String userName);

    int registerUser(UserAccount userAccount);

    int updateUser(UserAccount userAccount);
}
